home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Back2Front ƒ / Back2Front.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.1 KB  |  44 lines  |  [TEXT/MPS ]

  1. #    File:        Back2Front.make
  2. #   Target:     Back2Front
  3. #   Sources:    Back2Front.a Back2Front.c Back2Front.r
  4. #   Created:    Wednesday, Mar. 22, 1994
  5. #
  6. #    Makefile for a page-reversing printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #     3/22/94 - dmh - Created.
  12. #     8/24/94 - dmh - Finalized.
  13.  
  14. #    Alias to the path for the GX interface files.
  15.  
  16. INTPATH = {CIncludes}
  17.  
  18. #    Creator type we'll use:
  19.  
  20. kCreator = 'B2Fr'
  21.  
  22.  
  23. OBJECTS = Back2Front.a.o Back2Front.c.o
  24. AsmOptions        = -sym off -i "{INTPATH}" -case obj
  25. CompileOptions    = -opt full -d applec -b2 -r -i "{INTPATH}"
  26.  
  27. Back2Front.a.o ƒ Back2Front.make Back2Front.a
  28.      Asm {AsmOptions} Back2Front.a
  29. Back2Front.c.o ƒ Back2Front.make Back2Front.c
  30.      C {CompileOptions} Back2Front.c
  31.  
  32. Back2Front ƒƒ Back2Front.make Back2Front.r {OBJECTS}
  33.     Link    -ra =resSysHeap,resPurgeable    ∂
  34.             -t 'pext'                        ∂
  35.             -c {kCreator}                    ∂
  36.             -rt pext=0                        ∂
  37.             -sg SEGS                        ∂
  38.             -m EntryPoint                    ∂
  39.             {OBJECTS}                        ∂
  40.             "{Libraries}Runtime.o"            ∂
  41.             -o Back2Front;
  42.     SetFile Back2Front -a iB;
  43.     Rez -i "{INTPATH}" -rd -o Back2Front Back2Front.r -append 
  44.